home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 98 / Skunkware 98.iso / src / mail / pine3.96.tar.gz / pine3.96.tar / pine3.96 / pico / makefile.gul < prev    next >
Makefile  |  1996-04-05  |  2KB  |  89 lines

  1. # $Id: makefile.gul,v 1.3 1996/04/05 18:06:44 mikes Exp $
  2. #
  3. #   Michael Seibel
  4. #   Networks and Distributed Computing
  5. #   Computing and Communications
  6. #   University of Washington
  7. #   Administration Builiding, AG-44
  8. #   Seattle, Washington, 98195, USA
  9. #   Internet: mikes@cac.washington.edu
  10. #
  11. #   Please address all bugs and comments to "pine-bugs@cac.washington.edu"
  12. #
  13. #
  14. #   Pine and Pico are registered trademarks of the University of Washington.
  15. #   No commercial use of these trademarks may be made without prior written
  16. #   permission of the University of Washington.
  17. #
  18. #   Pine, Pico, and Pilot software and its included text are Copyright
  19. #   1989-1996 by the University of Washington.
  20. #
  21. #   The full text of our legal notices is contained in the file called
  22. #   CPYRIGHT, included with this distribution.
  23. #
  24.  
  25. #
  26. # Makefile for RISC Ultrix 4 version of the PINE composer library and 
  27. # stand-alone editor pico, using gcc compiler.
  28. #
  29.  
  30. #includes symbol info for debugging 
  31. DASHO=        -g
  32. #for normal build
  33. #DASHO=        -g
  34.  
  35. CC=        gcc
  36. STDCFLAGS=    -Dult -DJOB_CONTROL -DMOUSE
  37. CFLAGS=        $(EXTRACFLAGS) $(DASHO) $(STDCFLAGS)
  38.  
  39. # switches for library building
  40. LIBCMD=        ar
  41. LIBARGS=    ru
  42. RANLIB=        ranlib
  43.  
  44. LIBS=        $(EXTRALIBES) -ltermcap -lc
  45.  
  46. OFILES=        attach.o ansi.o basic.o bind.o browse.o buffer.o \
  47.         composer.o display.o \
  48.         file.o fileio.o line.o osdep.o \
  49.         pico.o random.o region.o search.o \
  50.         spell.o tcap.o window.o word.o
  51.  
  52. CFILES=        attach.c ansi.c basic.c bind.c browse.c buffer.c \
  53.         composer.c display.c file.c fileio.c line.c osdep.c \
  54.         pico.c random.c region.c search.c spell.c tcap.c \
  55.         window.c word.c
  56.  
  57. HFILES=        estruct.h edef.h efunc.h ebind.h pico.h osdep.h
  58.  
  59.  
  60. #
  61. # dependencies for the Unix versions of pico and libpico.a
  62. #
  63. all:        pico pilot
  64.  
  65. osdep.c:    os_unix.c
  66.         rm -f osdep.c
  67.         cp os_unix.c osdep.c
  68.  
  69. osdep.h:    os_unix.h
  70.         rm -f osdep.h
  71.         cp os_unix.h osdep.h
  72.  
  73. libpico.a:    osdep.c osdep.h $(OFILES)
  74.         $(LIBCMD) $(LIBARGS) libpico.a $(OFILES)
  75.         $(RANLIB) libpico.a
  76.  
  77. pico:        main.c libpico.a
  78.         $(CC) $(CFLAGS) main.c libpico.a $(LIBS) -o pico
  79.  
  80. pilot:        pilot.c libpico.a
  81.         $(CC) $(CFLAGS) pilot.c libpico.a $(LIBS) -o pilot
  82.  
  83. .c.o:        ; $(CC) -c $(CFLAGS) $*.c
  84.  
  85. $(OFILES):    $(HFILES)
  86.  
  87. clean:
  88.         rm -f *.a *.o *~ osdep.c osdep.h pico pilot
  89.